<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>团队排行榜 - 奢享时光</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --primary-gradient: linear-gradient(135deg, #7F00FF, #E100FF);
      --secondary-gradient: linear-gradient(135deg, #00F5A0, #00D9F5);
      --primary-color: #7F00FF;
      --secondary-color: #00F5A0;
      --accent-color: #FFE600;
      --dark-bg: #2D1B69;
      --light-bg: #6B3FA0;
      --text-light: #FFFFFF;
      --text-secondary: #E0D5FF;
      --card-bg: rgba(255, 255, 255, 0.1);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --border-radius: 16px;
      --border: 1px solid rgba(255, 255, 255, 0.18);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Noto Sans SC', 'Poppins', sans-serif;
      background: var(--dark-bg);
      color: var(--text-light);
      font-size: 14px;
      line-height: 1.5;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      outline: none;
    }

    .app-container {
      max-width: 480px;
      margin: 0 auto;
      min-height: 100vh;
      background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
      position: relative;
      overflow: hidden;
      padding-bottom: 70px;
    }

    /* 背景装饰 */
    .bg-decoration {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-circle {
      position: absolute;
      border-radius: 50%;
    }

    .bg-circle:nth-child(1) {
      width: 250px;
      height: 250px;
      top: -50px;
      left: -100px;
      background: radial-gradient(circle, rgba(127, 0, 255, 0.3), rgba(127, 0, 255, 0));
    }

    .bg-circle:nth-child(2) {
      width: 300px;
      height: 300px;
      bottom: 20%;
      right: -150px;
      background: radial-gradient(circle, rgba(0, 245, 160, 0.2), rgba(0, 245, 160, 0));
    }

    /* 顶部导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      background: rgba(45, 27, 105, 0.8);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: var(--border);
    }

    .back-button {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }

    .page-title {
      font-size: 18px;
      font-weight: 600;
    }

    .tab-button {
      padding: 5px 10px;
      border-radius: 20px;
      color: var(--text-secondary);
      font-size: 13px;
      border: var(--border);
      background: rgba(255, 255, 255, 0.05);
    }

    .tab-button.active {
      background: var(--primary-gradient);
      color: var(--text-light);
    }

    /* 内容区域 */
    .content {
      position: relative;
      z-index: 1;
      padding: 20px;
    }

    /* 排行榜标题 */
    .leaderboard-header {
      margin-bottom: 20px;
      text-align: center;
    }
    
    .leaderboard-tabs {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 10px;
    }

    /* 排行榜列表 */
    .leaderboard-list {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: var(--border-radius);
      border: var(--border);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .rank-item {
      display: flex;
      align-items: center;
      padding: 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
    }

    .rank-item:last-child {
      border-bottom: none;
    }

    .rank-number {
      width: 30px;
      font-weight: 700;
      font-size: 16px;
      text-align: center;
    }

    .rank-number.top {
      color: var(--accent-color);
    }

    .rank-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--light-bg), var(--primary-color));
      margin: 0 15px 0 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .rank-info {
      flex: 1;
    }

    .rank-name {
      font-weight: 600;
      margin-bottom: 3px;
    }

    .rank-detail {
      font-size: 12px;
      color: var(--text-secondary);
    }

    .rank-value {
      font-weight: 700;
      color: var(--secondary-color);
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }

    .rank-label {
      font-size: 12px;
      color: var(--text-secondary);
      margin-top: 2px;
    }

    .rank-medal {
      position: absolute;
      top: 16px;
      right: 50px;
      font-size: 16px;
    }

    .rank-medal.gold {
      color: #FFD700;
    }

    .rank-medal.silver {
      color: #C0C0C0;
    }

    .rank-medal.bronze {
      color: #CD7F32;
    }

    /* 底部导航 */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 480px;
      margin: 0 auto;
      background: rgba(45, 27, 105, 0.8);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-top: var(--border);
      display: flex;
      justify-content: space-around;
      padding: 12px 0;
      z-index: 100;
    }

    .nav-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      color: var(--text-secondary);
      font-size: 12px;
      padding: 5px 0;
      flex: 1;
      transition: all 0.3s ease;
    }

    .nav-button i {
      font-size: 18px;
      margin-bottom: 2px;
    }

    .nav-button.active {
      color: var(--accent-color);
    }

    /* 无数据提示 */
    .no-data {
      text-align: center;
      padding: 30px 20px;
      color: var(--text-secondary);
    }

    .no-data i {
      font-size: 40px;
      margin-bottom: 10px;
      opacity: 0.7;
    }

    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .rank-item {
      animation: fadeIn 0.3s ease forwards;
      opacity: 0;
    }

    .rank-item:nth-child(1) { animation-delay: 0.05s; }
    .rank-item:nth-child(2) { animation-delay: 0.1s; }
    .rank-item:nth-child(3) { animation-delay: 0.15s; }
    .rank-item:nth-child(4) { animation-delay: 0.2s; }
    .rank-item:nth-child(5) { animation-delay: 0.25s; }
    .rank-item:nth-child(6) { animation-delay: 0.3s; }
    .rank-item:nth-child(7) { animation-delay: 0.35s; }
    .rank-item:nth-child(8) { animation-delay: 0.4s; }
    .rank-item:nth-child(9) { animation-delay: 0.45s; }
    .rank-item:nth-child(10) { animation-delay: 0.5s; }
    .rank-item:nth-child(11) { animation-delay: 0.55s; }
    .rank-item:nth-child(12) { animation-delay: 0.6s; }
    .rank-item:nth-child(13) { animation-delay: 0.65s; }
    .rank-item:nth-child(14) { animation-delay: 0.7s; }
    .rank-item:nth-child(15) { animation-delay: 0.75s; }
    .rank-item:nth-child(16) { animation-delay: 0.8s; }
    .rank-item:nth-child(17) { animation-delay: 0.85s; }
    .rank-item:nth-child(18) { animation-delay: 0.9s; }
    .rank-item:nth-child(19) { animation-delay: 0.95s; }
    .rank-item:nth-child(20) { animation-delay: 1s; }
  </style>
</head>
<body>
  <div class="app-container">
    <!-- 背景装饰 -->
    <div class="bg-decoration">
      <div class="bg-circle"></div>
      <div class="bg-circle"></div>
    </div>

    <!-- 顶部导航 -->
    <header class="header">
      <a href="groupbuy.html" class="back-button">
        <i class="fas fa-arrow-left"></i>
      </a>
      <div class="page-title">团队排行榜</div>
      <a href="leaderboard-earnings.html" class="tab-button">
        收益榜
      </a>
    </header>

    <!-- 主要内容 -->
    <main class="content">
      <!-- 排行榜标题 -->
      <div class="leaderboard-header">
        <h2>团队拼团数量排行</h2>
        <div class="leaderboard-tabs">
          <a href="leaderboard-teams.html" class="tab-button active">团队榜</a>
          <a href="leaderboard-earnings.html" class="tab-button">收益榜</a>
        </div>
      </div>

      <!-- 排行榜列表 -->
      <div class="leaderboard-list">
        <!-- 第1名 -->
        <div class="rank-item">
          <div class="rank-number top">1</div>
          <div class="rank-avatar">
            <i class="fas fa-crown"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">张团长</div>
            <div class="rank-detail">VIP会员 · 钻石等级</div>
          </div>
          <div class="rank-value">
            <span>183</span>
            <div class="rank-label">拼团数</div>
          </div>
          <div class="rank-medal gold">
            <i class="fas fa-medal"></i>
          </div>
        </div>

        <!-- 第2名 -->
        <div class="rank-item">
          <div class="rank-number top">2</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">李团长</div>
            <div class="rank-detail">VIP会员 · 白金等级</div>
          </div>
          <div class="rank-value">
            <span>156</span>
            <div class="rank-label">拼团数</div>
          </div>
          <div class="rank-medal silver">
            <i class="fas fa-medal"></i>
          </div>
        </div>

        <!-- 第3名 -->
        <div class="rank-item">
          <div class="rank-number top">3</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">王团长</div>
            <div class="rank-detail">VIP会员 · 黄金等级</div>
          </div>
          <div class="rank-value">
            <span>129</span>
            <div class="rank-label">拼团数</div>
          </div>
          <div class="rank-medal bronze">
            <i class="fas fa-medal"></i>
          </div>
        </div>

        <!-- 第4-20名 -->
        <div class="rank-item">
          <div class="rank-number">4</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">刘团长</div>
            <div class="rank-detail">VIP会员 · 黄金等级</div>
          </div>
          <div class="rank-value">
            <span>112</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">5</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">赵团长</div>
            <div class="rank-detail">VIP会员 · 白银等级</div>
          </div>
          <div class="rank-value">
            <span>98</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">6</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">钱团长</div>
            <div class="rank-detail">VIP会员 · 白银等级</div>
          </div>
          <div class="rank-value">
            <span>83</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">7</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">孙团长</div>
            <div class="rank-detail">VIP会员 · 青铜等级</div>
          </div>
          <div class="rank-value">
            <span>72</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">8</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">周团长</div>
            <div class="rank-detail">VIP会员 · 青铜等级</div>
          </div>
          <div class="rank-value">
            <span>65</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">9</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">吴团长</div>
            <div class="rank-detail">VIP会员 · 青铜等级</div>
          </div>
          <div class="rank-value">
            <span>58</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">10</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">郑团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>52</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <!-- 11-20名数据 -->
        <div class="rank-item">
          <div class="rank-number">11</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">冯团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>48</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">12</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">陈团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>45</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">13</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">楚团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>42</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">14</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">韦团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>40</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">15</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">何团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>38</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">16</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">许团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>36</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">17</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">曾团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>33</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">18</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">林团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>31</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">19</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">石团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>29</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>

        <div class="rank-item">
          <div class="rank-number">20</div>
          <div class="rank-avatar">
            <i class="fas fa-user"></i>
          </div>
          <div class="rank-info">
            <div class="rank-name">高团长</div>
            <div class="rank-detail">普通会员 · 入门等级</div>
          </div>
          <div class="rank-value">
            <span>27</span>
            <div class="rank-label">拼团数</div>
          </div>
        </div>
      </div>
    </main>

    <!-- 底部导航 -->
    <nav class="bottom-nav">
      <a href="index.html" class="nav-button">
        <i class="fas fa-home"></i>
        <span>首页</span>
      </a>
      <a href="groupbuy.html" class="nav-button active">
        <i class="fas fa-users"></i>
        <span>拼团</span>
      </a>
      <a href="shares.html" class="nav-button">
        <i class="fas fa-chart-line"></i>
        <span>股权</span>
      </a>
      <a href="profile.html" class="nav-button">
        <i class="fas fa-user"></i>
        <span>我的</span>
      </a>
    </nav>
  </div>

  <script>
    document.addEventListener('DOMContentLoaded', function() {
      // 页面加载动画
      const rankItems = document.querySelectorAll('.rank-item');
      
      rankItems.forEach((item, index) => {
        setTimeout(() => {
          item.style.opacity = '1';
          item.style.transform = 'translateY(0)';
        }, 50 * (index + 1));
      });
    });
  </script>
</body>
</html> 